package com.ruoyi.demand.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 在线留言对象 demand
 *
 * @author ruoyi
 * @date 2025-05-27
 */
public class Demand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 需求描述 */
    @Excel(name = "需求描述")
    private String demandDescribe;

    /** 删除状态（0-未删除，1-已删除） */
    @Excel(name = "删除状态", readConverterExp = "0=-未删除，1-已删除")
    private String deleteStatus;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }

    public void setDemandDescribe(String demandDescribe)
    {
        this.demandDescribe = demandDescribe;
    }

    public String getDemandDescribe()
    {
        return demandDescribe;
    }

    public void setDeleteStatus(String deleteStatus)
    {
        this.deleteStatus = deleteStatus;
    }

    public String getDeleteStatus()
    {
        return deleteStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("phone", getPhone())
                .append("email", getEmail())
                .append("demandDescribe", getDemandDescribe())
                .append("deleteStatus", getDeleteStatus())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}

